<style lang="scss" scoped>
  .collect-information{}
</style>

<template>
  <div class="collect-information">
    <el-tabs v-model="activeName" style="padding: 0 10px;">
      <el-tab-pane label="院前信息" name="prehospitalInfo">
        <prehospital-info v-if="activeName == 'prehospitalInfo'" />
      </el-tab-pane>
      <el-tab-pane label="院内信息" name="inhospitalInfo">
        <inhospital-info v-if="activeName == 'inhospitalInfo'" />
      </el-tab-pane>
      <el-tab-pane label="质控指标" name="qualityIndicators">
        <quality-indicators v-if="activeName == 'qualityIndicators'" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import prehospitalInfo from '@/views/green-channel/prehospitalInfo.vue'
import inhospitalInfo from '@/views/green-channel/inhospitalInfo.vue'
import qualityIndicators from '@/views/green-channel/qualityIndicators.vue'
export default {
  components: {
    prehospitalInfo,
    inhospitalInfo,
    qualityIndicators
  },
  data() {
    return {
      activeName: 'prehospitalInfo'
    }
  }
}
</script>
